<?if(ACCESS):?>
<li class="hello"><?=sprintf(dgettext('account','Hi %s'),FULLNAME)?></li>
<li>
<a class="tab <?=APP=='account'?' selected':''?>" href="/account/info"><?=dgettext('account','Account')?></a>
<ul class="pulldown">
    <li>
        <a class="<?=APP=='account'&&CMD=='info'?' selected':''?>" href="/account/info"><?=dgettext('account','Edit')?></a>
    </li>
    <li class="last">
        <a class="<?=APP=='account'&&CMD=='settings'?' selected':''?>" href="/account/settings"><?=dgettext('account','Settings')?></a>
    </li>
</ul>
</li>

<?if(EDITOR):?>
<li>
<a class="tab <?=APP=='common'||ADMINISTERIAL||EDITORIAL?' selected':''?>" href="/common"><?=dgettext('common','Project')?></a>
</li>
<?endif;?>

<li>
<a class="logout box" href="/account/logout"><?=dgettext('account','log out')?></a>
</li>
<?elseif(MEMBERSHIP):?>
    <li><a class="tab<?=APP=='account'&&CMD=='join'?' selected':''?>" href="/account/join" title="<?=dgettext('account','join')?>"><?=dgettext('account','join')?></a></li>
    <li><a class="tab<?=APP=='account'&&CMD=='login'?' selected':''?>" href="/account/login" title="<?=dgettext('account','login')?>"><?=dgettext('account','login')?></a></li>
<?endif;?>